package com.xm9m.web.service.api.response.common;

import com.xm9m.web.service.constants.StatusCode;
import com.xm9m.web.service.interfaces.Xm9mResponse;

/**
 * Created by Liutong on 2015/12/18.
 */
public class SimpleResponse extends Xm9mResponse {

    private Boolean successful;
    private String message;
    private int code = StatusCode.SUCCESS.getCode();

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
    public Boolean getSuccessful() {
        return successful;
    }

    public void setSuccessful(Boolean successful) {
        this.successful = successful;
    }

}
